package com.jshoperxms.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;


/**
 * The persistent class for the product_t database table.
 * 
 */
@Entity
@Table(name="product_t")
@NamedQuery(name="ProductT.findAll", query="SELECT p FROM ProductT p")
public class ProductT implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String productid;


	private String batchnumber;

	private String brandid;

	private String brandname;

	private BigDecimal cost;

	private BigInteger createtime;

	private String creatorid;

	private int freezestock;

	private String goodsid;

	private String goodstypeid;

	private String goodstypename;

	private String htmlpath;

	private String imgs;

	private String isdefault;

	private String lname;

	private String ltypeid;

	private String mainimg;

	private BigDecimal memberprice;

	private String msync;

	private String navid;

	private String nname;

	private String pattrs;

	private BigDecimal points;

	private String pparams;

	private BigDecimal price;

	private String productname;

	private String psku;

	private String pskuvals;

	private String psn;

	private BigDecimal saleprice;

	private int sales;

	private String salestatus;

	private String simgs;

	private String smainimg;

	private String sname;

	private int sort;

	private String status;

	private int stock;

	private String storeid;

	private String storename;

	private String stypeid;

	private int totalcomment;

	private int totalzan;

	private String unit;

	private BigInteger updatetime;

	private int versiont;

	private int vsales;

	private String weight;

	private String weightunit;

	public ProductT() {
	}

	public String getProductid() {
		return this.productid;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}

	public String getBrandid() {
		return this.brandid;
	}

	public void setBrandid(String brandid) {
		this.brandid = brandid;
	}

	public String getBrandname() {
		return this.brandname;
	}

	public void setBrandname(String brandname) {
		this.brandname = brandname;
	}

	public BigDecimal getCost() {
		return this.cost;
	}

	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}

	public BigInteger getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(BigInteger createtime) {
		this.createtime = createtime;
	}

	public String getCreatorid() {
		return this.creatorid;
	}

	public void setCreatorid(String creatorid) {
		this.creatorid = creatorid;
	}

	public int getFreezestock() {
		return this.freezestock;
	}

	public void setFreezestock(int freezestock) {
		this.freezestock = freezestock;
	}

	public String getGoodsid() {
		return this.goodsid;
	}

	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}

	public String getGoodstypeid() {
		return this.goodstypeid;
	}

	public void setGoodstypeid(String goodstypeid) {
		this.goodstypeid = goodstypeid;
	}

	public String getGoodstypename() {
		return this.goodstypename;
	}

	public void setGoodstypename(String goodstypename) {
		this.goodstypename = goodstypename;
	}

	public String getHtmlpath() {
		return this.htmlpath;
	}

	public void setHtmlpath(String htmlpath) {
		this.htmlpath = htmlpath;
	}

	public String getImgs() {
		return this.imgs;
	}

	public void setImgs(String imgs) {
		this.imgs = imgs;
	}

	public String getIsdefault() {
		return this.isdefault;
	}

	public void setIsdefault(String isdefault) {
		this.isdefault = isdefault;
	}

	public String getLname() {
		return this.lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public String getLtypeid() {
		return this.ltypeid;
	}

	public void setLtypeid(String ltypeid) {
		this.ltypeid = ltypeid;
	}

	public String getMainimg() {
		return this.mainimg;
	}

	public void setMainimg(String mainimg) {
		this.mainimg = mainimg;
	}

	public BigDecimal getMemberprice() {
		return this.memberprice;
	}

	public void setMemberprice(BigDecimal memberprice) {
		this.memberprice = memberprice;
	}

	public String getMsync() {
		return this.msync;
	}

	public void setMsync(String msync) {
		this.msync = msync;
	}

	public String getNavid() {
		return this.navid;
	}

	public void setNavid(String navid) {
		this.navid = navid;
	}

	public String getNname() {
		return this.nname;
	}

	public void setNname(String nname) {
		this.nname = nname;
	}

	public String getPattrs() {
		return this.pattrs;
	}

	public void setPattrs(String pattrs) {
		this.pattrs = pattrs;
	}

	public BigDecimal getPoints() {
		return this.points;
	}

	public void setPoints(BigDecimal points) {
		this.points = points;
	}

	public String getPparams() {
		return this.pparams;
	}

	public void setPparams(String pparams) {
		this.pparams = pparams;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getProductname() {
		return this.productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}

	public String getPsku() {
		return this.psku;
	}

	public void setPsku(String psku) {
		this.psku = psku;
	}

	public String getPskuvals() {
		return this.pskuvals;
	}

	public void setPskuvals(String pskuvals) {
		this.pskuvals = pskuvals;
	}

	public String getPsn() {
		return this.psn;
	}

	public void setPsn(String psn) {
		this.psn = psn;
	}

	public BigDecimal getSaleprice() {
		return this.saleprice;
	}

	public void setSaleprice(BigDecimal saleprice) {
		this.saleprice = saleprice;
	}

	public int getSales() {
		return this.sales;
	}

	public void setSales(int sales) {
		this.sales = sales;
	}

	public String getSalestatus() {
		return this.salestatus;
	}

	public void setSalestatus(String salestatus) {
		this.salestatus = salestatus;
	}

	public String getSimgs() {
		return this.simgs;
	}

	public void setSimgs(String simgs) {
		this.simgs = simgs;
	}

	public String getSmainimg() {
		return this.smainimg;
	}

	public void setSmainimg(String smainimg) {
		this.smainimg = smainimg;
	}

	public String getSname() {
		return this.sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public int getSort() {
		return this.sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getStock() {
		return this.stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}

	public String getStoreid() {
		return this.storeid;
	}

	public void setStoreid(String storeid) {
		this.storeid = storeid;
	}

	public String getStorename() {
		return this.storename;
	}

	public void setStorename(String storename) {
		this.storename = storename;
	}

	public String getStypeid() {
		return this.stypeid;
	}

	public void setStypeid(String stypeid) {
		this.stypeid = stypeid;
	}

	public int getTotalcomment() {
		return this.totalcomment;
	}

	public void setTotalcomment(int totalcomment) {
		this.totalcomment = totalcomment;
	}

	public int getTotalzan() {
		return this.totalzan;
	}

	public void setTotalzan(int totalzan) {
		this.totalzan = totalzan;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public BigInteger getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(BigInteger updatetime) {
		this.updatetime = updatetime;
	}

	public int getVersiont() {
		return this.versiont;
	}

	public void setVersiont(int versiont) {
		this.versiont = versiont;
	}

	public int getVsales() {
		return this.vsales;
	}

	public void setVsales(int vsales) {
		this.vsales = vsales;
	}

	public String getWeight() {
		return this.weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getWeightunit() {
		return this.weightunit;
	}

	public void setWeightunit(String weightunit) {
		this.weightunit = weightunit;
	}

	public String getBatchnumber() {
		return batchnumber;
	}

	public void setBatchnumber(String batchnumber) {
		this.batchnumber = batchnumber;
	}
}